@azalea said in IPv6 Link Local in Interface Status:
On the other hand, the OPT1 interface status display, NDP table display, and ifconfig execution results all show that the OPT1 interface (IPv6) is linked to "fe80::XXXX:XXXX:XXXX:XXXX%pppoe1
From the Wikipedia article:
Even if a single address is not in use in different zones, the address prefixes for addresses in those zones may still be identical, which makes the operating system unable to select an outgoing interface based on the information in the routing table (which is prefix-based). [In this specific case, your WAN interface's link-local address of fe80::[EUI-64]/128 is the 'prefix' being referred to here]
In order to resolve the ambiguity in textual addresses, a zone index must be appended to the address.
[ . . . ]
As multiple interfaces may belong to the same zone (e.g. when connected to the same network), in practice two addresses with different zone identifiers may actually be equivalent, and refer to the same host on the same link.
fe80::[identical EUI-64]%ppoe0 and fe80::[identical EUI-64]%em0 are obviously not mutually exclusive addresses, even if both or neither are active at any given time on a given link. And the zone index in general can obviously refer to both, a physical or a logical network interface. The same goes for fe80::[identical EUI-64]%ppoe1 and fe80::[identical EUI-64]%em1 on the OPT1 interface.
Agreed no problem here, just thought-provoking discussion (at least for me!) of an interesting IPv6 feature.